package com.lq.ecoldchain.ui.moneypocket

import android.graphics.Color
import android.os.Build
import com.alibaba.android.arouter.facade.annotation.Route
import com.lq.ecoldchain.R
import com.lq.ecoldchain.base.BaseNavigator
import com.lq.ecoldchain.base.view.BaseActivity
import com.lq.ecoldchain.databinding.ActivityMoneyPocketBinding
import org.kodein.di.Kodein
import org.kodein.di.generic.instance

/*
*2019/1/18 0018  16:41
*function by lq
*/
@Route(path = BaseNavigator.moneyPocket)
class MoneyPocketActivity:BaseActivity<ActivityMoneyPocketBinding>(){
    override val layoutId = R.layout.activity_money_pocket
    override val viewDelegate: MoneyPocketDelegate by instance()

    override fun initView() {
        binding.delegate = viewDelegate
        titleGone()
        nonFitSystem()
        if (Build.VERSION.SDK_INT >= 21) window.statusBarColor = Color.TRANSPARENT
        titleText("我的钱包")
    }

    override val kodein = Kodein.lazy {
        extend(parentKodein)
        import(pocketKodeinModule)
    }

}